{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": [
    "from IPython.display import display\n",
    "\n",
    "display(\n",
    "    {\n",
    "        \"application/vnd.vegalite.v3+json\": {\n",
    "            \"$schema\": \"https://vega.github.io/schema/vega-lite/v3.json\",\n",
    "            \"description\": \"A simple bar chart with embedded data.\",\n",
    "            \"data\": {\n",
    "                \"values\": [\n",
    "                    {\"a\": \"A\", \"b\": 28},\n",
    "                    {\"a\": \"B\", \"b\": 55},\n",
    "                    {\"a\": \"C\", \"b\": 43},\n",
    "                    {\"a\": \"D\", \"b\": 91},\n",
    "                    {\"a\": \"E\", \"b\": 81},\n",
    "                    {\"a\": \"F\", \"b\": 53},\n",
    "                    {\"a\": \"G\", \"b\": 19},\n",
    "                    {\"a\": \"H\", \"b\": 87},\n",
    "                    {\"a\": \"I\", \"b\": 52},\n",
    "                ]\n",
    "            },\n",
    "            \"mark\": \"bar\",\n",
    "            \"encoding\": {\n",
    "                \"x\": {\"field\": \"a\", \"type\": \"ordinal\"},\n",
    "                \"y\": {\"field\": \"b\", \"type\": \"quantitative\"},\n",
    "            },\n",
    "            \"metadata\": {\"theme\": \"dark\"},\n",
    "        }\n",
    "    },\n",
    "    raw=True,\n",
    ")"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3 (ipykernel)",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.10.4"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 4
}
